<%@ page session="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    
    <head>
        <title>PMS Login</title>
        <link href="style.css" rel="stylesheet" type="text/css">
    </head>
    
    <body>
        
        <form method="POST" action="LoginPost.jsp">
            <br>
            <br><br>
            <div align="center">
                
                <table border="0" width="400" style="border-collapse: collapse" cellpadding="3">
                    <tr>
                        <th colspan="2">Sign in</th>
                    </tr>
                    <tr>
                        <td colspan="2"><%if (request.getParameter("wp") != null) {%><font color="#FF0000">Invalid user id or password. 
                        Please try again.</font><%}%></td>
                    </tr>
                    <tr>
                        <td width="110">User Id:</td>
                        <td><input type="text" name="userid" size="20"></td>
                    </tr>
                    <tr>
                        <td width="110">Password:</td>
                        <td><input type="password" name="password" size="20"></td>
                    </tr>
                    <tr>
                        <td width="110">&nbsp;</td>
                        <td>
                        <input type="submit" value="Sign In" name="B1" style="width:82;height:26"></td>
                    </tr>
                    <tr>
                        <td width="110">&nbsp;</td>
                        <td>&nbsp;</td>
                    </tr>
                    <tr>
                        <td colspan="2"><a href="forgot-password.jsp">Forgot Password?</a> | <a href="sign-up.jsp">Sign Up</a><br>
                            <!-- <br>
                        If you are an administrator <a href="admin/index.jsp">click here.</a>--></td>
                    </tr>
                </table>
            </div>
            <p><br>
                <br>
            &nbsp;</p>
        </form>
        
    </body>
    
</html>